//
//  FTBrowserAlbumController.h
//  Decathlon
//
//  Created on 14-2-11.
//  Copyright (c) 2014年. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <AssetsLibrary/AssetsLibrary.h>
#import "FTImageScrollView.h"
#import "AlbumDefine.h"
#import "ASBaseViewController.h"

@protocol FTBrowserAlbumControllerDelegate <NSObject>

-(void)compareWithDict:(NSMutableDictionary *)tempDict;

@end




//@protocol RCSFinishedSelectFileDelegate;
@protocol FTAlbumPhotoViewControllerDelegate;

@interface FTBrowserAlbumController : ASBaseViewController<UIScrollViewDelegate,FTImageScrollDelegate>
{
    BOOL               _bHiddenNav;        // 是否隐藏导航栏
}
@property (nonatomic,strong) NSMutableArray *assetsArray;
@property (nonatomic,strong) UIScrollView   *albumScrollView;
@property (nonatomic,assign) AlbumType albumType;
@property (nonatomic,assign) BOOL isSendOrigin;
@property (nonatomic,weak)   id<FTAlbumPhotoViewControllerDelegate>albumDelegate;
@property (nonatomic,weak)   id<FTBrowserAlbumControllerDelegate>delegate;
@property (nonatomic,assign) BOOL isComeFromWiFi;
//@property (nonatomic, strong) id<RCSFinishedSelectFileDelegate> filedelegate;


/**
 *  初始化
 *
 *  @param index      预览
 *  @param dic        所有选中图片字典
 *  @param selectKeys 选择顺序呢
 *  @param assetsArr  所有可预览图片
 *  @param isPart     只部分预览 YES 只预览选中  NO 预览相册所有
 *  @param isOrigin   发送原图 YES  NO
 */
- (id)initWithSelectIndex:(NSInteger)index
            andAssetsDict:(NSMutableDictionary *)dic
            andSelectKeys:(NSMutableArray *)selectKeys
             andAllAssets:(NSMutableArray *)assetsArr
             isPartBrower:(BOOL)isPart
            andSendOrigin:(BOOL)isOrigin;


//定义该接口禁用导航的左滑返回功能
-(BOOL)canDragBack;

@end
